@layout("/common/_container.html",{js:["/assets/goods/goodsPic_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="goodsPicForm" lay-filter="goodsPicForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input id="goodsId" name="goodsId"  type="hidden"  />

                <div class="layui-form-item">
                    <label class="layui-form-label">商品详情描述</label>
                    <div class="layui-input-block">
                        <textarea id="goodsDetails" name="goodsDetails" >

                        </textarea>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">售价<span style="color: red;"></span></label>
                    <div class="layui-input-block" style="width: 140px">
                        <input id="price" name="price" placeholder="" type="text" class="layui-input"  />
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">商品照片</label>
                    <div class="layui-input-block">
                        <input id="pictureInputHidden" name="goodsPic" type="hidden" class="layui-input" />
                        <button type="button" class="layui-btn layui-btn-sm" id="picBtn"><i class="layui-icon"></i>选择图片</button>
                        <div class="layui-upload-list">
                            <img class="layui-upload-img" id="img1" width="92px" height="92px">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">商品多图</label>
                    <div class="layui-input-block">
                    <div class="layui-upload">
                        <button type="button" class="layui-btn" id="bill_pic">多图片上传</button>
                        <p>&nbsp;</p>
                        <button type="button" class="layui-btn" id="deleteBillpic">删除多图片</button>
                        <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                            预览图：
                            <div class="layui-upload-list" id="demo2"></div>
                        </blockquote>
                    </div>
                        <input id="goodsPics" name="goodsPics" class="layui-input" type="text"  readonly="readonly">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}